package com.lq.educationsystem.lqclasses.mapper;

import com.lq.educationsystem.lqclasses.entiy.ClassesTb;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【classes_tb】的数据库操作Mapper
* @createDate 2024-04-13 11:38:18
* @Entity com.lq.educationsystem.lqclasses.entiy.ClassesTb
*/
public interface ClassesTbMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ClassesTb record);

    int insertSelective(ClassesTb record);

    ClassesTb selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ClassesTb record);

    int updateByPrimaryKey(ClassesTb record);

    List<ClassesTb> queryList(@Param("start") int start,@Param("pageSize") Integer pageSize,@Param("classesTb") ClassesTb classesTb);

    int queryCounts(@Param("classesTb") ClassesTb classesTb);

    List<ClassesTb> queryClassesInfoByClassesId(@Param("classesIdList") List<Integer> classesIdList);
}
